package com.tale.competition.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author tale
 * @since 2020-02-16
 */
@TableName("sys_teacher")
@ApiModel(value="Teacher对象", description="")
public class Teacher implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "教师工号")
    @TableId(value = "teacher_id", type = IdType.AUTO)
    private String teacherId;

    @ApiModelProperty(value = "账号")
    private String accountNum;

    @ApiModelProperty(value = "教师名称")
    private String teacherName;

    @ApiModelProperty(value = "二级学院编号")
    private Integer collegeNo;


    public String getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(String teacherId) {
        this.teacherId = teacherId;
    }

    public String getAccountNum() {
        return accountNum;
    }

    public void setAccountNum(String accountNum) {
        this.accountNum = accountNum;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public Integer getCollegeNo() {
        return collegeNo;
    }

    public void setCollegeNo(Integer collegeNo) {
        this.collegeNo = collegeNo;
    }

    @Override
    public String toString() {
        return "Teacher{" +
        "teacherId=" + teacherId +
        ", accountNum=" + accountNum +
        ", teacherName=" + teacherName +
        ", collegeNo=" + collegeNo +
        "}";
    }
}
